package com.joysw.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import butterknife.ButterKnife;
import butterknife.InjectView;

import com.joysw.R;
import com.joysw.view.TitleBarView;
/**
 * 
* @Title: MainActivity.java 
* @Package com.joysw.ui 
* @Description: 添加收款账号界面
* @author LIMINGYAN  
* @date 2015年3月28日 上午7:39:14 
* @version V1.0
 */
public class MyPaymentsAccountActivity extends BaseActivity{
	@InjectView(R.id.my_payment_account_title_bar)
	TitleBarView title_bar_view;
	@InjectView(R.id.blind_zfb_btn)
	Button blind_zfb_btn;
	
	@Override
	    protected void onCreate(Bundle arg0) {
	    	// TODO Auto-generated method stub
	    	super.onCreate(arg0);
	    	setContentView(R.layout.activity_my_payment_account);
	    	ButterKnife.inject(this);
	    	
	    	initView();
	    }

	private void initView() {
		title_bar_view.setTitleText(R.string.my_payment_account_title);
		title_bar_view.setBtnLeft(R.drawable.ic_back, R.string.back);
		title_bar_view.setBtnLeftOnclickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {
				finish();
			}
		});
		blind_zfb_btn.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				startActivity(new Intent(MyPaymentsAccountActivity.this, BindZfbActivity.class));
			}
		});
	}
}
